{
 "metadata": {
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.12-final"
  },
  "orig_nbformat": 2,
  "kernelspec": {
   "name": "python361264bitlinda3615condafaec69a221044242a7680ebc8b6bde2e",
   "display_name": "Python 3.6.12 64-bit ('Linda3615': conda)",
   "language": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2,
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "dataPath = \"/home/stu/Documents/dataset/sougo/process_SougoCS/all_seq&lable.pkl\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "import os\n",
    "import numpy as np\n",
    "import pandas as pd\n",
    "import pickle as pk\n",
    "import pickle"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "dataset = pk.load(open(dataPath,'rb'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "df_dataset =pd.DataFrame(dataset)\n",
    "df_dataset.rename(columns={0:'class',1:'content'},inplace=True) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": [
      "<class 'pandas.core.frame.DataFrame'>\nRangeIndex: 419715 entries, 0 to 419714\nData columns (total 2 columns):\n #   Column   Non-Null Count   Dtype \n---  ------   --------------   ----- \n 0   class    419715 non-null  object\n 1   content  419715 non-null  object\ndtypes: object(2)\nmemory usage: 6.4+ MB\n"
     ]
    }
   ],
   "source": [
    "df_dataset.info()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": [
       "  class                                            content\n",
       "0  yule  2008年6月6日,在北京奥运会倒计时两个月之际,一部由保利演艺出品的全新功夫舞台巨作——功...\n",
       "1  yule  跳转至:页5/18我来说两句作者:CFP2008年6月11日,成都,周讯代表壹基金到成都振灾...\n",
       "2  yule  跳转至:页19/32我来说两句512关爱行动赈灾义演阵容强大。周杰伦,张学友,张惠妹,郑秀文...\n",
       "3  yule  跳转至:页20/32我来说两句512关爱行动赈灾义演现场,200多名三地明星倾情献唱。(责任..."
      ],
      "text/html": "<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n\n    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n\n    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n<table border=\"1\" class=\"dataframe\">\n  <thead>\n    <tr style=\"text-align: right;\">\n      <th></th>\n      <th>class</th>\n      <th>content</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <th>0</th>\n      <td>yule</td>\n      <td>2008年6月6日,在北京奥运会倒计时两个月之际,一部由保利演艺出品的全新功夫舞台巨作——功...</td>\n    </tr>\n    <tr>\n      <th>1</th>\n      <td>yule</td>\n      <td>跳转至:页5/18我来说两句作者:CFP2008年6月11日,成都,周讯代表壹基金到成都振灾...</td>\n    </tr>\n    <tr>\n      <th>2</th>\n      <td>yule</td>\n      <td>跳转至:页19/32我来说两句512关爱行动赈灾义演阵容强大。周杰伦,张学友,张惠妹,郑秀文...</td>\n    </tr>\n    <tr>\n      <th>3</th>\n      <td>yule</td>\n      <td>跳转至:页20/32我来说两句512关爱行动赈灾义演现场,200多名三地明星倾情献唱。(责任...</td>\n    </tr>\n  </tbody>\n</table>\n</div>"
     },
     "metadata": {},
     "execution_count": 6
    }
   ],
   "source": [
    "df_dataset.head(4)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "df_stat = df_dataset.groupby(by=['class']).size().reset_index(name='times')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": [
       "       class  times\n",
       "0       2008  26437\n",
       "1       auto   6539\n",
       "2   business  60790\n",
       "3     career     86\n",
       "4        cul   3225\n",
       "5     health   5442\n",
       "6      house  69661\n",
       "7         it  10736\n",
       "8   learning  10045\n",
       "9   mil.news   2889\n",
       "10      news  82669\n",
       "11    sports  83689\n",
       "12    travel   8760\n",
       "13     women  16412\n",
       "14      yule  32335"
      ],
      "text/html": "<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n\n    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n\n    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n<table border=\"1\" class=\"dataframe\">\n  <thead>\n    <tr style=\"text-align: right;\">\n      <th></th>\n      <th>class</th>\n      <th>times</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <th>0</th>\n      <td>2008</td>\n      <td>26437</td>\n    </tr>\n    <tr>\n      <th>1</th>\n      <td>auto</td>\n      <td>6539</td>\n    </tr>\n    <tr>\n      <th>2</th>\n      <td>business</td>\n      <td>60790</td>\n    </tr>\n    <tr>\n      <th>3</th>\n      <td>career</td>\n      <td>86</td>\n    </tr>\n    <tr>\n      <th>4</th>\n      <td>cul</td>\n      <td>3225</td>\n    </tr>\n    <tr>\n      <th>5</th>\n      <td>health</td>\n      <td>5442</td>\n    </tr>\n    <tr>\n      <th>6</th>\n      <td>house</td>\n      <td>69661</td>\n    </tr>\n    <tr>\n      <th>7</th>\n      <td>it</td>\n      <td>10736</td>\n    </tr>\n    <tr>\n      <th>8</th>\n      <td>learning</td>\n      <td>10045</td>\n    </tr>\n    <tr>\n      <th>9</th>\n      <td>mil.news</td>\n      <td>2889</td>\n    </tr>\n    <tr>\n      <th>10</th>\n      <td>news</td>\n      <td>82669</td>\n    </tr>\n    <tr>\n      <th>11</th>\n      <td>sports</td>\n      <td>83689</td>\n    </tr>\n    <tr>\n      <th>12</th>\n      <td>travel</td>\n      <td>8760</td>\n    </tr>\n    <tr>\n      <th>13</th>\n      <td>women</td>\n      <td>16412</td>\n    </tr>\n    <tr>\n      <th>14</th>\n      <td>yule</td>\n      <td>32335</td>\n    </tr>\n  </tbody>\n</table>\n</div>"
     },
     "metadata": {},
     "execution_count": 8
    }
   ],
   "source": [
    "df_stat"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "class_name = {\n",
    "    \"auto\":\"汽车\",\n",
    "    \"business\":\"财经\",\n",
    "    \"it\":\"it\",\n",
    "    \"health\":\"健康\",\n",
    "    \"travel\":\"旅游\",\n",
    "    \"learning\":\"教育\",\n",
    "    \"mil.news\":\"军事\",\n",
    "    \"cul\":\"文化\",\n",
    "    \"yule\":\"娱乐\",\n",
    "    \"sports\":\"体育\"\n",
    "}\n",
    "label_dict2 ={\n",
    "    \"auto\": 0,\n",
    "    \"business\":1,\n",
    "    \"it\":2,\n",
    "    \"health\":3,\n",
    "    \"travel\":4,\n",
    "    \"learning\":5,\n",
    "    \"mil.news\":6,\n",
    "    \"cul\":7,\n",
    "    \"yule\":8,\n",
    "    \"sports\":9\n",
    "}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": [
      "dict_keys(['auto', 'business', 'it', 'health', 'travel', 'learning', 'mil.news', 'cul', 'yule', 'sports'])\n"
     ]
    }
   ],
   "source": [
    "print(class_name.keys())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": [
       "      class                                            content\n",
       "0      yule  2008年6月6日,在北京奥运会倒计时两个月之际,一部由保利演艺出品的全新功夫舞台巨作——功...\n",
       "1      yule  跳转至:页5/18我来说两句作者:CFP2008年6月11日,成都,周讯代表壹基金到成都振灾...\n",
       "2      yule  跳转至:页19/32我来说两句512关爱行动赈灾义演阵容强大。周杰伦,张学友,张惠妹,郑秀文...\n",
       "3      yule  跳转至:页20/32我来说两句512关爱行动赈灾义演现场,200多名三地明星倾情献唱。(责任...\n",
       "4      yule  跳转至:页23/31我来说两句目前,美国动画大片《功夫熊猫》正在全国各地疯狂热映中。虽然还没...\n",
       "...     ...                                                ...\n",
       "32330  yule  精彩剧照剧照(一)剧照(二)剧照(三)剧照(四)剧照(五)剧照(六) 1968年,京城的钟跃...\n",
       "32331  yule  上海男孩杨洋是来自解放军艺术学院的应届生。昨日,新版电视剧《红楼梦》先是公布了成年版宝玉演员...\n",
       "32332  yule  近日,加盟SMG“《2008分之1》公益短片行动”的中国 “教父级”导演谢晋率领剧组来到上海...\n",
       "32333  yule  《明报周刊》今天首度在台湾创刊,昨天在台北君悦酒店举行创刊酒会,艺人成龙、刘嘉玲、梁咏琪等出...\n",
       "32334  yule  [提要] 6月11日,在上海电视节国际影视节目市场上,TVB新剧《溏心风暴之家好月圆》举行了...\n",
       "\n",
       "[32335 rows x 2 columns]"
      ],
      "text/html": "<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n\n    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n\n    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n<table border=\"1\" class=\"dataframe\">\n  <thead>\n    <tr style=\"text-align: right;\">\n      <th></th>\n      <th>class</th>\n      <th>content</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <th>0</th>\n      <td>yule</td>\n      <td>2008年6月6日,在北京奥运会倒计时两个月之际,一部由保利演艺出品的全新功夫舞台巨作——功...</td>\n    </tr>\n    <tr>\n      <th>1</th>\n      <td>yule</td>\n      <td>跳转至:页5/18我来说两句作者:CFP2008年6月11日,成都,周讯代表壹基金到成都振灾...</td>\n    </tr>\n    <tr>\n      <th>2</th>\n      <td>yule</td>\n      <td>跳转至:页19/32我来说两句512关爱行动赈灾义演阵容强大。周杰伦,张学友,张惠妹,郑秀文...</td>\n    </tr>\n    <tr>\n      <th>3</th>\n      <td>yule</td>\n      <td>跳转至:页20/32我来说两句512关爱行动赈灾义演现场,200多名三地明星倾情献唱。(责任...</td>\n    </tr>\n    <tr>\n      <th>4</th>\n      <td>yule</td>\n      <td>跳转至:页23/31我来说两句目前,美国动画大片《功夫熊猫》正在全国各地疯狂热映中。虽然还没...</td>\n    </tr>\n    <tr>\n      <th>...</th>\n      <td>...</td>\n      <td>...</td>\n    </tr>\n    <tr>\n      <th>32330</th>\n      <td>yule</td>\n      <td>精彩剧照剧照(一)剧照(二)剧照(三)剧照(四)剧照(五)剧照(六) 1968年,京城的钟跃...</td>\n    </tr>\n    <tr>\n      <th>32331</th>\n      <td>yule</td>\n      <td>上海男孩杨洋是来自解放军艺术学院的应届生。昨日,新版电视剧《红楼梦》先是公布了成年版宝玉演员...</td>\n    </tr>\n    <tr>\n      <th>32332</th>\n      <td>yule</td>\n      <td>近日,加盟SMG“《2008分之1》公益短片行动”的中国 “教父级”导演谢晋率领剧组来到上海...</td>\n    </tr>\n    <tr>\n      <th>32333</th>\n      <td>yule</td>\n      <td>《明报周刊》今天首度在台湾创刊,昨天在台北君悦酒店举行创刊酒会,艺人成龙、刘嘉玲、梁咏琪等出...</td>\n    </tr>\n    <tr>\n      <th>32334</th>\n      <td>yule</td>\n      <td>[提要] 6月11日,在上海电视节国际影视节目市场上,TVB新剧《溏心风暴之家好月圆》举行了...</td>\n    </tr>\n  </tbody>\n</table>\n<p>32335 rows × 2 columns</p>\n</div>"
     },
     "metadata": {},
     "execution_count": 11
    }
   ],
   "source": [
    "df_dataset.loc[df_dataset['class']=='yule']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "# df_dataset['class'] = df_dataset['class'].apply(lambda row : label_dict2[row])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": [
      "提取数据完成\n"
     ]
    }
   ],
   "source": [
    "df_sub_dataset = {}\n",
    "for key in class_name.keys():\n",
    "    df_sub_dataset[key] = df_dataset.loc[df_dataset['class']==key]\n",
    "    df_sub_dataset[key]['length'] = df_sub_dataset[key].apply(lambda row: len(row[1]),axis=1)\n",
    "    df_sub_dataset[key]['class'] = df_sub_dataset[key]['class'].apply(lambda row: label_dict2[row])\n",
    "print(\"提取数据完成\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "### 去除长度小于20的数据\r\n",
    "# 暂时不做"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "print(\"hello\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": [
      "提取数据完成\n"
     ]
    }
   ],
   "source": [
    "# 随机挑选两千条数据\n",
    "df_selected_data={}\n",
    "for key in class_name.keys():\n",
    "    df_selected_data[key] = df_sub_dataset[key].sample(n=2000)\n",
    "print(\"提取数据完成\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [],
   "source": [
    "# all_data = df_selected_data['yule'].values.tolist()\n",
    "# df_selected_data['yule'].info()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "print(\"aa\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": [
      "共20000条数据\n"
     ]
    }
   ],
   "source": [
    "all_data = []\n",
    "cnt = 0\n",
    "for key in class_name.keys():\n",
    "    all_data += df_selected_data[key].values.tolist()\n",
    "    cnt += 1\n",
    "print(\"共{}条数据\".format(cnt*2000))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [],
   "source": [
    "def pkl_save(data,pkl_path):\n",
    "    with open(pkl_path,'wb') as f:\n",
    "        pk.dump(data,f)\n",
    "def pkl_load(f_path):\n",
    "    with open(f_path,'rb') as f:\n",
    "        return pickle.load(f)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [],
   "source": [
    "dataPath = \"/home/stu/Documents/dataset/sougo/process_SougoCS/sougoCS_all_seq&lable.pkl\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "pkl_save(all_data,dataPath)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "## 查看数据集\n",
    "parentPath = \"/home/stu/Documents/dataset/sougo/cs_result/\"\n",
    "\n",
    "split_dataset = os.path.join(parentPath,\"split_all_sentence.pkl\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [],
   "source": [
    "split_sen_data = pkl_load(split_dataset)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [],
   "source": [
    "df_split_data = pd.DataFrame(split_sen_data)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": [
       "   0                                                  1     2\n",
       "0  0  ' 近日 , 搜狐 购车 编辑 从 京城 部分 一汽大众 4S店 获悉 , 速腾店 内 优惠...   457\n",
       "1  0  ' 11 月 20 日 , 哈飞 汽车 举行 大型 新闻 发布会 , 宣布 第一款 中国 人...   555\n",
       "2  0  ' 欧盟委员会 5 月 23 日 提议 , 制定 汽车 安全 新规 — — — 到 2012...   453\n",
       "3  0  ' 应 搜狐 汽车 频道 之邀 , 为 “ 酒后 开车 ” 的 新 栏目 写篇 开场白 , ...  1209\n",
       "4  0  ' 日前 , 国际 原油价格 创下 了 135 美元 / 桶 的 纪录 。 全球 能源供应 ...  1476\n",
       "5  0  ' 来源 : 汽车 人多 品种 、 全系列 的 自主 汽车 大网 已 逐渐 成形 , 上海 ...  4781\n",
       "6  0  ' 雨季 保养 增多 、 免费 空调 检测 忙碌 、 防晒 装潢 红火 … … 汽车 换季 ...  1443\n",
       "7  0  ' 今年 三 、 四月份 的 降价 可以 说 烽火连三 月 , 这个 期间 所有 的 主流 ...  2218\n",
       "8  0  ' 5 月 12 日 , 四川 汶川 , 8.0 级 地震 , 震痛 所有 华夏儿女 的 心...   753\n",
       "9  0  ' 国际 原油价格 屡 创新 高 、 国内 能源 形势 日趋 紧张 , 国内汽车 消费 却 ...  1332"
      ],
      "text/html": "<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n\n    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n\n    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n<table border=\"1\" class=\"dataframe\">\n  <thead>\n    <tr style=\"text-align: right;\">\n      <th></th>\n      <th>0</th>\n      <th>1</th>\n      <th>2</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <th>0</th>\n      <td>0</td>\n      <td>' 近日 , 搜狐 购车 编辑 从 京城 部分 一汽大众 4S店 获悉 , 速腾店 内 优惠...</td>\n      <td>457</td>\n    </tr>\n    <tr>\n      <th>1</th>\n      <td>0</td>\n      <td>' 11 月 20 日 , 哈飞 汽车 举行 大型 新闻 发布会 , 宣布 第一款 中国 人...</td>\n      <td>555</td>\n    </tr>\n    <tr>\n      <th>2</th>\n      <td>0</td>\n      <td>' 欧盟委员会 5 月 23 日 提议 , 制定 汽车 安全 新规 — — — 到 2012...</td>\n      <td>453</td>\n    </tr>\n    <tr>\n      <th>3</th>\n      <td>0</td>\n      <td>' 应 搜狐 汽车 频道 之邀 , 为 “ 酒后 开车 ” 的 新 栏目 写篇 开场白 , ...</td>\n      <td>1209</td>\n    </tr>\n    <tr>\n      <th>4</th>\n      <td>0</td>\n      <td>' 日前 , 国际 原油价格 创下 了 135 美元 / 桶 的 纪录 。 全球 能源供应 ...</td>\n      <td>1476</td>\n    </tr>\n    <tr>\n      <th>5</th>\n      <td>0</td>\n      <td>' 来源 : 汽车 人多 品种 、 全系列 的 自主 汽车 大网 已 逐渐 成形 , 上海 ...</td>\n      <td>4781</td>\n    </tr>\n    <tr>\n      <th>6</th>\n      <td>0</td>\n      <td>' 雨季 保养 增多 、 免费 空调 检测 忙碌 、 防晒 装潢 红火 … … 汽车 换季 ...</td>\n      <td>1443</td>\n    </tr>\n    <tr>\n      <th>7</th>\n      <td>0</td>\n      <td>' 今年 三 、 四月份 的 降价 可以 说 烽火连三 月 , 这个 期间 所有 的 主流 ...</td>\n      <td>2218</td>\n    </tr>\n    <tr>\n      <th>8</th>\n      <td>0</td>\n      <td>' 5 月 12 日 , 四川 汶川 , 8.0 级 地震 , 震痛 所有 华夏儿女 的 心...</td>\n      <td>753</td>\n    </tr>\n    <tr>\n      <th>9</th>\n      <td>0</td>\n      <td>' 国际 原油价格 屡 创新 高 、 国内 能源 形势 日趋 紧张 , 国内汽车 消费 却 ...</td>\n      <td>1332</td>\n    </tr>\n  </tbody>\n</table>\n</div>"
     },
     "metadata": {},
     "execution_count": 24
    }
   ],
   "source": [
    "df_split_data.head(10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [],
   "source": [
    "label = df_split_data[0].values.tolist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": [
       "{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}"
      ]
     },
     "metadata": {},
     "execution_count": 26
    }
   ],
   "source": [
    "set(label)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 测试修改标签数据\n",
    "df_split_data[0] = df_split_data[0].apply(lambda row : label_dict2[row])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "df_split_data.head(10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ]
}